import grails.util.Environment
import infomap.smsSender.Gateway160SMSSender
import infomap.smsSender.MockSMSSender

// Place your Spring DSL code here
beans = {

    if (Environment.current == Environment.PRODUCTION){
        smsSender(Gateway160SMSSender)
    } else {
        smsSender(MockSMSSender)
    }
}
